﻿


namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 工艺主表
    /// </summary>
    [SugarTable("cks_technique")]
    [Table(Name = "cks_technique")]
    public class CksTechnique : BaseEntity
    {
        /// <summary>
        /// 工艺Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column(IsPrimary =true,IsIdentity =true)]
        public int Id { get; set; }

        /// <summary>
        /// 工艺名称 
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 工艺代码 
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 工艺类型 
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 最后发送时间 
        /// </summary>
        public DateTime? LastSendTime { get; set; }

        /// <summary>
        /// 模板编号 
        /// </summary>
        public int TemplateId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Notes {  get; set; } = string.Empty;

        /// <summary>
        /// 禁用状态 
        /// </summary>
        public bool Nullity { get; set; }

        /// <summary>
        /// 查询状态(0默认 1未使用 2使用中  ) 
        /// </summary>
        public int QueryStatus { get; set; }

        /// <summary>
        /// CreatedTime 
        /// </summary>
        public DateTime? CreatedTime { get; set; }

       

    }
}